package org.jiajie.coffeecodes.sp.beans.factory;

import org.jiajie.coffeecodes.sp.beans.BeansException;

/**
 * Interface to be implemented by beans that wish to be aware of their owning {@link BeanFactory}
 * 实现此接口，既能感知到所属的 BeanFactory
 *
 * @author jay
 */
public interface BeanFactoryAware extends Aware {

    void setBeanFactory(BeanFactory beanFactory) throws BeansException;
}
